package cn.topevery.garden.entity.dto;

import cn.topevery.garden.entity.po.GreFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 知识库 DTO
 *
 * @author code-generate
 * @date 2022-10-28
 */
@Data
@ApiModel(value = "KnowledgeBaseDTO", description = "知识库 DTO")
public class KnowledgeBaseDTO implements Serializable {
    /**
     * 自增id
     */
    private Integer id;

    /**
     * 类型uid
     */
    @ApiModelProperty(value = "类型uid")
    private String classId;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    private String code;

    /**
     * 知识名称
     */
    @ApiModelProperty(value = "知识名称")
    private String name;

    /**
     * 概要
     */
    @ApiModelProperty(value = "概要")
    private String abstracts;

    /**
     * 参考文献
     */
    @ApiModelProperty(value = "参考文献")
    private String reference;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty("附件")
    private List<GreFile> fileList;

}
